//
//  CustomView.h
//  UI05_delegate设计模式实现view点击事件回调
//
//  Created by Scott on 16/5/9.
//  Copyright © 2016年 Scott. All rights reserved.
//

#import <UIKit/UIKit.h>

@class CustomView;

@protocol CustomViewDelegate <NSObject>

- (void)customViewShouldClick:(CustomView *)view;

- (void)customViewDidClick:(CustomView *)view;

@end

@interface CustomView : UIView

@property (nonatomic, assign) id<CustomViewDelegate> delegate;


@end
